home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / DB_CLIPP / 0643B.ZIP / PRFILE.DOC < prev    next >
Text File  |  1986-12-23  |  2KB  |  47 lines

  1. PRFILE.DOC--12/23/86
  2. OK, here it is.  My first "crippled" program.  Reason it's crippled is twofold:
  3. 1) I want your $$$ <grin>.
  4. 2) This is really a Beta version, and I don't wanna enhance it too much until I
  5.    get some feedback.
  6.  
  7. PRFILE is meant to be used as a dBASE LOAD/CALL subroutine.  Requirements are:
  8. 1) dBASE III PLUS or Developers' Release.
  9. 2) MS-DOS 3.0 or higher?  I dunno, too lazy to test it on 2.x as neither of my
  10.    ATs will work on it very well.
  11.  
  12. PRFILE will redirect dBASE's printer output to a DOS file.  
  13.  
  14. Syntax: LOAD PRFILE (PRFILE.BIN must be in present directory unless otherwise
  15.                      specified)
  16.         memvarname="<DOS pathname>"
  17.         CALL PRFILE WITH memvarname
  18. Returns:
  19.         same filename, unless it couldn't open the file, in which case the first
  20.         letter of the memvar is replaced with "W" for write error
  21.  
  22. The second time you CALL PRFILE it will close the print file, and return printer
  23. output to the printer.  Successive calls will do nothing.
  24.  
  25. When you exit dBASE with QUIT, the file will be closed anyway.  You can also
  26. close the print file and send output back to the printer with SET PRINTER TO
  27. LPT1, so if you RELEASE MODULE PRFILE before the second call there's no real
  28. harm done.
  29.  
  30. Error checking is scant at this point, but registered users will receive a 
  31. version which can be called repeatedly to turn printer redirection on/off, and
  32. it will also have somewhat enhanced error checking.  I'm sure you all can figure
  33. out how to call this sucker repeatedly anyway, but it may or may not work and
  34. will be a little more inconvenient, as well as slightly slower.
  35.  
  36. How to register (and support development of more of this inane stuff):
  37. Send $10 to
  38. Synergy Corp.
  39. 1780 SW 43 Ave.
  40. Ft. Lauderdale FL 33317
  41. Be sure to tell me what program you are registering.  The latest version of it
  42. will be sent to you, with the ASM source.
  43. Enjoy!
  44. R. Russell Freeland
  45. Pres, Synergy Corp.
  46.  
  47.